﻿using ERPSystem.Common.DTO;
using MediatR;
using SqlSugar;

namespace SalesManagementCommon.API.SalesManagementCommons.SalesOrderSearch
{
    public class SalesOrderQueryCommand : IRequest<ResultPage<SalesOrderDTO>>
    {
        /// <summary>
        /// 单据编码
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public string? DocumentStatus { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? CustomerProfileName { get; set; }
        /// <summary>
        /// 销售人员
        /// </summary>
        public string? SalesStaff { get; set; }
        /// <summary>
        /// 业务状态
        /// </summary>
        public string? BusinessStatus { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
